<section class="Hui-container">
	<div class="Hui-wraper">	
		<div id="a-other">		
		<h2>其它信息</h2>
		<h5>*是必填信息</h5>
			<div class="line"></div>
			<br>
			<form method="post" action="{:U('Aother/save')}" id="other_form" class="form form-horizontal responsive">	
				<div class="row cl">
					<label class="form-label col-xs-3">*你是否有贷款违约记录：</label>
					<div class="formControls">
						<div class="radio-box col-xs-my">
							<input type="radio" id="default-1" name="default" datatype="*" nullmsg="请选择！" value="1">
							<label for="default-1">是</label>
						</div>
						<div class="radio-box col-xs-my">
							<input type="radio" id="default-2" name="default" value="2">
							<label for="default-2">否</label>
						</div>			
					</div>
					<div class="col-xs-5"> </div>
				</div>
				<br>	
				<div class="row cl">
					<label class="form-label col-xs-3">*你是否有犯罪记录：</label>
					<div class="formControls">
						<div class="radio-box col-xs-my">
							<input type="radio" id="criminal_record-1" name="criminal_record" datatype="*" nullmsg="请选择！" value="1">
							<label for="criminal_record-1">是</label>
						</div>
						<div class="radio-box col-xs-my">
							<input type="radio" id="criminal_record-2" name="criminal_record" value="2">
							<label for="criminal_record-2">否</label>
						</div>			
					</div>
					<div class="col-xs-5"> </div>
				</div>
				<br>
				<div class="row cl">
					<label class="form-label col-xs-3">*你是否宣布过破产：</label>
					<div class="formControls">
						<div class="radio-box col-xs-my">
							<input type="radio" id="bankrupt-1" name="bankrupt" datatype="*" nullmsg="请选择！" value="1">
							<label for="bankrupt-1">是</label>
						</div>
						<div class="radio-box  col-xs-my">
							<input type="radio" id="bankrupt-2" name="bankrupt" value="2">
							<label for="bankrupt-2">否</label>
						</div>			
					</div>
					<div class="col-xs-5"> </div>
				</div>
				<br>
				<div class="row cl">
					<label class="form-label col-xs-1"></label>
					<div class="formControls skin-minimal col-xs-9">
						<div class="check-box">
							<input type="checkbox" id="checkbox-5" name="checkbox2" datatype="*" nullmsg="请勾选">
							<label for="checkbox-5"></label>
							我授权Brilliance Finance向我的大学询问我的个人信息（成绩等），以便Brilliance Finance对我的贷款进行评估
						</div>					
					</div>
					<div class="col-xs-2"> </div>
				</div>
				<br>
				<div class="row cl">
					<label class="form-label col-xs-1"></label>
					<div class="formControls skin-minimal col-xs-9">
						<div class="check-box">
							<input type="checkbox" id="checkbox-6" name="checkbox3" datatype="*" nullmsg="请勾选">
							<label for="checkbox-6"></label>
							我授权我的大学向Brilliance Finane提供任何有关贷款评估的个人信息
						</div>						
					</div>
					<div class="col-xs-2"> </div>
				</div>
				<br>
				<div class="row cl">
					<div class="col-xs-10 col-xs-offset-2">
						<a href="{:U('Areferences/index')}" class="btn btn-warning radius previous_form">上一步</a>
						<input class="btn btn-primary" type="submit" value="&nbsp;&nbsp;递交 &nbsp;&nbsp;">
					</div>
				</div>
			</form>		
		</div>
	</div>
</section>

<script>
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	$("#other_form").Validform({
		tiptype:2
	});
	var obj1 = document.getElementsByName('criminal_record');
	for(i = 0; i < obj1.length; i++){  
	    if(obj1[i].value == '{$data.criminal_record}') 
	        obj1[i].checked = true;       
	}
	var obj2 = document.getElementsByName('default');
	for(i = 0; i < obj2.length; i++){  
	    if(obj2[i].value == '{$data.default}') 
	        obj2[i].checked = true;       
	}
	var obj3 = document.getElementsByName('bankrupt');
	for(i = 0; i < obj3.length; i++){  
	    if(obj3[i].value == '{$data.bankrupt}') 
	        obj3[i].checked = true;       
	}
});
</script>	
		